{% load my_tag %}

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .page-header {
            height: 50px;
            background-color: rebeccapurple;
        }

        .page-body .menu {
            height: 500px;
            background-color: antiquewhite;
            float: left;
            width: 20%;
        }

        .page-body .content {
            height: 500px;
            background-color: cornflowerblue;
            float: left;
            width: 80%;
        }

        .page-footer {
            height: 50px;
            background-color: darkcyan;
            clear: both;
        }
    </style>
</head>
<body>
<h1>template</h1>
<div>
    <div class="page-header"></div>
    <div class="page-body">
        <div class="menu">
            <a href="/ordered">订单</a><br/>
            <a href="/shopping_car">购物车</a>
        </div>
        {% block content %}
        <div>
        base
        </div>
        {% endblock %}
    </div>
    <div class="page-footer"></div>
</div>
</body>
</html>